﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace BlueLotus7.ArchiveSystem.Common
{
    [DataContract]
    [KnownType(typeof(TaskExecutionRecord))]
    public class TaskExecutionRecordViewModel : TaskExecutionRecord
    {
        [DataMember]
        public string TaskName
        {
            get;
            set;
        }

        [DataMember]
        public string DomainScopeCode
        {
            get;
            set;
        }

        [DataMember]
        public string ClientName
        {
            get;
            set;
        }

        [DataMember]
        public string TargetIdentity
        {
            get;
            set;
        }

        [DataMember]
        public MonitorTask.TaskExecutionType ExecutionType
        {
            get;
            set;
        }

        [DataMember]
        public string DomainScopeName
        {
            get;
            set;
        }
    }
}
